
<pre>
<?php

require_once("Bootstrap.php");

Dao::$debug = true;

$ad = new GenericDao("A");
$a = $ad->findById('1');
$bd = new GenericDao("B");
$b = $bd->findById('1');

//$bd->addManyToMany($a,$b,'bs');
$bd->removeManyToMany($a,$b,'bs');
//$bs = $a->getBs();

//var_dump($bs[0]->getAs());

?>
</pre>